package com.atguigu.pojo;

public class MysqlServiceConfig {
    String id;
    String serverId;
    String serviceId;
    String port;
    String password;
    String innodb_buffer_pool_size;
    String max_connections;
    String masterNode;

    public MysqlServiceConfig() {
    }

    public MysqlServiceConfig(String id, String serverId, String serviceId, String port, String password, String innodb_buffer_pool_size, String max_connections, String masterNode) {
        this.id = id;
        this.serverId = serverId;
        this.serviceId = serviceId;
        this.port = port;
        this.password = password;
        this.innodb_buffer_pool_size = innodb_buffer_pool_size;
        this.max_connections = max_connections;
        this.masterNode = masterNode;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getServerId() {
        return serverId;
    }

    public void setServerId(String serverId) {
        this.serverId = serverId;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getInnodb_buffer_pool_size() {
        return innodb_buffer_pool_size;
    }

    public void setInnodb_buffer_pool_size(String innodb_buffer_pool_size) {
        this.innodb_buffer_pool_size = innodb_buffer_pool_size;
    }

    public String getMax_connections() {
        return max_connections;
    }

    public void setMax_connections(String max_connections) {
        this.max_connections = max_connections;
    }

    public String getMasterNode() {
        return masterNode;
    }

    public void setMasterNode(String masterNode) {
        this.masterNode = masterNode;
    }

    @Override
    public String toString() {
        return "MysqlServiceConfig{" +
                "id='" + id + '\'' +
                ", serverId='" + serverId + '\'' +
                ", serviceId='" + serviceId + '\'' +
                ", port='" + port + '\'' +
                ", password='" + password + '\'' +
                ", innodb_buffer_pool_size='" + innodb_buffer_pool_size + '\'' +
                ", max_connections='" + max_connections + '\'' +
                ", masterNode='" + masterNode + '\'' +
                '}';
    }
}
